
var section_center2_1s=document.getElementsByClassName("section_center2_1"),
section_banXin2_topAs=document.getElementsByClassName("section_banXin2_topA"),
section_banXin2_center_ps=document.getElementsByClassName("section_banXin2_center_p");
// var imgs=document.getElementsByClassName("img");

for(var i=0;i<section_center2_1s.length;i++){
    section_center2_1s[i].onclick=function(){
    for(var i=0;i<section_center2_1s.length;i++){
        section_center2_1s[i].className="section_center2_1";
        section_banXin2_topAs[i].className="section_banXin2_topA";
        section_banXin2_center_ps[i].className="section_banXin2_center_p";
        // imgs[i].className="";
    }
    var i=this.getAttribute("hw");
    this.className="section_center2_1 active";
    section_banXin2_topAs[i].className="section_banXin2_topA active";
    section_banXin2_center_ps[i].className="section_banXin2_center_p active";
    // imgs[i].className="active1";
}
}